﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Audio;
using Microsoft.Xna.Framework.Content;
using Microsoft.Xna.Framework.GamerServices;
using Microsoft.Xna.Framework.Graphics;
using Microsoft.Xna.Framework.Input;
using Microsoft.Xna.Framework.Media;
using Microsoft.Xna.Framework.Net;
using Microsoft.Xna.Framework.Storage;

namespace DefLib
{
    public class gDef
    {
        public static ContentManager Content;
        public static GameWindow Window;
        public static GameState now_gamestate;

        public static int STATE_MAIN = 0;
        public static int STATE_EXIT = 1;
        public static int STATE_LOGO = 2;
        public static int STATE_MENU = 3;
        public static int STATE_LOADG = 4;
        public static int STATE_HELP = 5;

        public static int MESSAGE_ENTER = 1001;
        public static int MESSAGE_UPDATE = 1002;
        public static int MESSAGE_PAINT = 1003;
        public static int MESSAGE_EXIT = 1004;


        public static int CHAR_STATE_DIE = 2000;
        public static int CHAR_STATE_LIVE = 2001;


        public static int MAIN_WIDTH = 480;
        public static int MAN_HEIGHT = 480;

        public static int ID_CHAR_MAIN = 3000;


        public static int E_VENT = 0;
        public static int ID_STATE = 0;
        public static string GetPath()
        {

            string m_path = System.Reflection.Assembly.GetExecutingAssembly().GetModules()[0].FullyQualifiedName;
            m_path = m_path.Replace(System.Reflection.Assembly.GetExecutingAssembly().GetModules()[0].Name, "");

            return m_path;
        }

    }
}
